﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RBAC.Domain.WarehouseManagement
{
    /// <summary>
    /// 采购发票物料信息表
    /// </summary>
    [Table("ProcurementMaterials")]
    public class PurchaseInvoiceMaterials
    {
        
        /// <summary>
        /// 采购发票物料信息表ID
        /// </summary>
        [Key]
        public int PurchaseInvoiceMaterialsId { get; set; }
        /// <summary>
        /// 采购发票Id(外键)
        /// </summary>
        public long PurchaseInvoiceId { get; set; }
        /// <summary>
        /// 采购订单号
        /// </summary>
        public string PurchaseOrderNumber {  get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public string Warehouse {  get; set; }
        /// <summary>
        /// 入库单号
        /// </summary>
        public string InboundOrderNumber {  get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string MaterialCode {  get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string MaterialName {  get; set; }
        /// <summary>
        /// 型号规格
        /// </summary>
        public string ModelSpecifications {  get; set; }
        /// <summary>
        /// 主计量
        /// </summary>
        public string MainMeasurement {  get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public string Number {  get; set; }
        /// <summary>
        /// 单价
        /// </summary>
        public string UnitPrice {  get; set; }
        /// <summary>
        /// 金额
        /// </summary>
        public string Amount {  get; set; }
        /// <summary>
        /// 税率
        /// </summary>
        public string TaxRate {  get; set; }
        /// <summary>
        /// 税额
        /// </summary>
        public string TaxAmount {  get; set; }
        /// <summary>
        /// 价税合计
        /// </summary>
        public string PriceTaxTotal {  get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDel {  get; set; }
    }
}
